package Month07.day09;

import java.util.Scanner;

public class BianLi {
    public static void main(String[] args) {
        System.out.println("输入字符串");
        Scanner scanner = new Scanner(System.in);
        String sc=scanner.nextLine();
        for (int i = 0; i < sc.length(); i++) {
            char a=sc.charAt(i);//charAt将确定字符在字符串当中的位置。
            System.out.println(a);
        }
    }
}
